package com.javabaas.server.novel_server.common;

public class Constant {

    /**
    * response field
    */
    public static final String KEY_RES_RESULT = "result";
    public static final String KEY_RES_MSG = "msg";
    public static final String KEY_RES_STATUS_CODE = "code";


    public static final Integer PAGE_SIZE_MAX = 30;
    public static final Integer PAGE_SIZE_MIN = 10;
    public static final Integer PAGE_DOWNLOAD_SIZE = 10;


    /**
     * 90天的毫秒数
     * */
    public static final long KEY_TIME_THREE_MONTH = 7776000000L;
    public static final long KEY_TIME_ONE_MONTH =   2592000000L;


    public static final String salt = "PENG.ZHAO.SALT";


    /**
     * 正则表达式：验证邮箱
     */
    public static final String REGEX_EMAIL = "^([a-z0-9A-Z]+[-|\\.]?)+[a-z0-9A-Z]@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?\\.)+[a-zA-Z]{2,}$";



}
